package org.ruoyi.interview.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.ruoyi.common.core.validate.AddGroup;
import org.ruoyi.common.core.validate.EditGroup;
import org.ruoyi.interview.domain.InterviewQuestionMastered;
import org.ruoyi.common.mybatis.core.domain.BaseEntity;

import jakarta.validation.constraints.*;

/**
 * 面试题掌握业务对象 interview_question_mastered
 *
 * @author ruoyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = InterviewQuestionMastered.class, reverseConvertGenerate = false)
public class InterviewQuestionMasteredBo extends BaseEntity {

    /**
     * 掌握记录ID
     */
//    @NotNull(message = "掌握记录ID不能为空", groups = { EditGroup.class })
    private Long masteredId;

    /**
     * 用户ID
     */
//    @NotNull(message = "用户ID不能为空", groups = { AddGroup.class })
    private Long userId;

    /**
     * 面试题目ID
     */
    @NotNull(message = "面试题目ID不能为空", groups = { AddGroup.class })
    private Long questionId;

    /**
     * 备注
     */
    private String remark;

}
